package com.example.st.service;

import com.example.st.common.ResponseResult;
import com.example.st.entity.Bp;

import java.util.List;

public interface BpService {

    ResponseResult<List<Bp>> getAllBps();

    ResponseResult<Bp> getBpById(Long pid);

    ResponseResult<List<Bp>> getBpByUid(Long uid);
    ResponseResult<Bp> createBp(Bp bp);

    ResponseResult<Bp> updateBp(Long pid, Bp bpDetails);

    ResponseResult<Void> deleteBp(Long pid);
}

